package cn.wsh;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.ServletComponentScan;

@SpringBootApplication
@MapperScan("cn.wsh.*.mapper")
//扫描加载权限的Listener
@ServletComponentScan(value = {"cn.wsh.system.listener"})
public class PetHomeApp {
    public static void main(String[] args) {
        SpringApplication.run(PetHomeApp.class);
    }
}
